package it.basilikos.core.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PersistenceContext;
import javax.persistence.Table;

@Entity
@PersistenceContext
@Table(name="product")
public class Product extends BaseEntity{
	
	private static final long serialVersionUID = 5046850353127595663L;
	
	@Column
	private String fruit;
	
	public void setFruit(String fruit) {
		this.fruit = fruit;
	}
	
	public String getFruit() {
		return fruit;
	}

	@Override
	public String toString() {
		return "Product [fruit=" + fruit + "]";
	}
	
	
	
}
